#pragma once


// CDlgSelect1 dialog
#include "Resource.h"

class CDlgSelect1 : public CDialog
{
	DECLARE_DYNAMIC(CDlgSelect1)

public:
	CDlgSelect1(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgSelect1();

// Dialog Data
	enum { IDD = IDD_DLG_SELECT1 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CSliderCtrl m_sliderselect1;
	int m_stcselect1;
	afx_msg void OnNMCustomdrawSliderSelect1(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();
	int m_Min, m_Max,m_Cur;
	// SetSliderRang
public:
	void SetSliderRang(int min, int max,int cur);
	// GetSelectNum
	int GetSelectNum(void);
	virtual BOOL OnInitDialog();
//	virtual BOOL Create(LPCTSTR lpszTemplateName, CWnd* pParentWnd = NULL);
};
